﻿using Customer.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Customer.Infrstructre.SalesManager
{
    /// <summary>
    /// 销售产品管理
    /// </summary>
    public class SellProductRepository:BaseRepository<SellProduct>, ISellProductRepository
    {
        public SellProductRepository(EFCoreDBcontext db) : base(db) { }


        public async Task<List<SellProduct>> GetAllAsync()
        {
            return await base.GetAllAsync();
        }

        public async Task<int> AddAsync(SellProduct entity)
        {
            return await base.AddAsync(entity);
        }



    }
}
